<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
?>
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>跳转页面</title>
    <script src="__STATIC__/card_login/jquery_fa96718.js"></script>
    <script src="__STATIC__/card_login/placeholder_plugin.js"></script>
    <link rel="stylesheet" href="__STATIC__/card_login/global_7a34829.css">
    <link rel="stylesheet" href="__STATIC__/card_login/login_plugin_04806be.css">
    <script src="__STATIC__/card_login/login_83dc17c.js"></script>
  <body>
    <div style="min-height: 863px;" class="wrapper">
        <div class="login_main" style="padding:auto;height: auto;">
        <?php if(isset($message)) {?>
            <h2><?php echo($message); ?></h2>
        <?php }else{?>
            <h2 style='color:red;'><?php echo($error); ?></h2>
        <?php }?>  
        <div class="login_foot">页面自动
          <a href="<?php echo($jumpUrl); ?>" class="join_jump" id="join_jump">跳转</a>等待时间：<b id="wait"><?php echo($waitSecond); ?></b>
        </div>   
      </div>
    </div>
  </body>
  <script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('join_jump').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
</html>